package cn.itheima.service.takedelivery;

import cn.itheima.domain.take_delivery.Order;

import javax.ws.rs.Consumes;
import javax.ws.rs.POST;
import javax.ws.rs.Path;

/**
 * Created by millions on 2017/7/9.
 */
public interface OrderService {

    @Path("save_order")
    @POST
    @Consumes({"applicaion/xml","application/json"})
    void saveOrder(Order order);

    Order queryByOrderNum(String orderNum);
}
